<link rel="stylesheet" href="/ceca_two/css/costShareOne.css" />
<!--header-->
<!--# include virtual="/ceca_two/common/html/header.html"-->
<!--# include virtual="/ceca_two/modules/costnorm/base/costShare.html"-->	
		<h1 class="shareName">工程概况</h1>
		<div class="explain">填写说明：以下内容均为必填项，若本项目无此项内容请填写“无”。</div>
		<table class="shareTable">
			<tr>
				<td>序号</td>
				<td>项目名称</td>
				<td class="property">属性值</td>
				<td style="color: #fff;">备注</td>
			</tr>
			<tr>
				<td class="xh">1</td>
				<td>工程名称</td>
				<td class="property">
					<input type="text" name="costName" id="costName" value="" placeholder="请输入工程名称"/>
				</td>
				<td>备注</td>
			</tr>
			<tr>
				<td class="xh">2</td>
				<td>工程用途</td>
				<td  class="property proL" id="catalog">
					<div class="classify">
						<span>请选择</span>
						<ul class="classifyList"></ul>
					</div>
					<div class="classify"  style="display: none;" >
						<span>请选择</span>
						<ul class="classifyList"></ul>
					</div>
					<div class="classify" style="display: none;">
						<span>请选择</span>
						<ul class="classifyList"></ul>
					</div>
				</td>
				<td>备注</td>
			</tr>
			<tr>
				<td class="xh">3</td>
				<td>工程地点</td>
				<td  class="property">
					<div class="classify site" id="city">
						<span>请选择省市</span>
						<ul class="classifyList classifyListArea">
							
						</ul>
					</div>
					<div class="classify site" style="border: none;" id="any">
						<span>全部</span>
						<ul class="classifyList classifyListArea"></ul>
					</div>
				</td>
				<td>备注</td>
			</tr>
			<tr>
				<td class="xh" rowspan="3">4</td>
				<td><span class="level"></span>总建筑面积</td>
				<td  class="property">
					<input type="text" class="areaInp" id="allArea"/>
					<span class="pfm">平方米</span>
				</td>
				<td>备注</td>
			</tr>
			<tr>
				<td>地上</td>
				<td  class="property">
					<input type="text"  id="onGround" />
				</td>
				<td>备注</td>
			</tr>
			<tr>
				<td>地下</td>
				<td  class="property">
					<div class="classify nature">
						<span id="underGround">请选择</span>
						<ul class="classifyList" id="underArea">
							<li>0</li>
							<li>不为0</li>
						</ul>
					</div>
					<div id="dxsmj">
						<input type="text" name=""  value="" placeholder="请输入地下建筑面积"/>
						<span>平方米</span>
					</div>
				</td>
				<td>备注</td>
			</tr>
			<tr>
				<td class="xh" rowspan="6">5</td>
				<td><span class="level"></span>建筑总高度</td>
				<td  class="property">
					<input type="text" class="areaInp" id="totalHeight"/>
					<span class="pfm">米</span>
				</td>
				<td>备注</td>
			</tr>
			<tr>
				<td>首层</td>
				<td  class="property">
					<input type="text" class="areaInp" id="firstHeight"/>
					<span class="pfm">米</span>
				</td>
				<td>备注</td>
			</tr>
			<tr>
				<td>二层</td>
				<td  class="property">
					<input type="text" class="areaInp" id="secondHeight"/>
					<span class="pfm">米</span>
				</td>
				<td>备注</td>
			</tr>
			<tr>
				<td>标准层</td>
				<td  class="property">
					<input type="text" class="areaInp" id="standardHeight"/>
					<span class="pfm">米</span>
				</td>
				<td>备注</td>
			</tr>
			<tr>
				<td>顶层</td>
				<td  class="property">
					<input type="text" class="areaInp" id="topHeight"/>
					<span class="pfm">米</span>
				</td>
				<td>备注</td>
			</tr>
			<tr>
				<td>其他非标准层</td>
				<td  class="property">
					<div class="other" style="width: 308px;">
						<input type="text" class="areaInp" id="otherHeight"/>
						<span>米</span>
					</div>
					<div class="other" style="border: none;"/>
						<span class="szcs">所在层数</span>
						<input type="text" class="areaInp" id="otherFloor" >
						<span>米</span>
					</div>
				</td>
				<td>备注</td>
			</tr>
			<tr>
				<td class="xh" rowspan="3">6</td>
				<td><span class="level"></span>建筑总层数（层）</td>
				<td  class="property">
					<input type="text" class="areaInp" id="allFloor"/>
					<span class="second">层</span>
				</td>
				<td>备注</td>
			</tr>
			<tr>
				<td>地上（层）</td>
				<td  class="property">
					<input type="text" class="areaInp overUp" id="upFloor"/>
					<span class="second">层</span>
				</td>
				<td>备注</td>
			</tr>
			<tr>
				<td>地下（层）</td>
				<td  class="property">
					<input type="text" class="areaInp overUp" id="downFloor"/>
					<span class="second">层</span>
				</td>
				<td>备注</td>
			</tr>
			<tr class="removedxs">
				<td class="xh" rowspan="6">7</td>
				<td><span class="level"></span>地下室</td>
				<td  class="property">

				</td>
				<td>备注</td>
			</tr>
			<tr class="removedxs">
				<td>层高</td>
				<td  class="property">
					<input type="text" class="areaInp overUp" id="downFloorHeight" />
					<span class="second">米</span>
				</td>
				<td>备注</td>
			</tr>
			<tr class="removedxs">
				<td>功能用途</td>
				<td  class="property">
					<input type="text" class="downarr areaInp" />
				</td>
				<td>备注</td>
			</tr>
			<tr class="removedxs">
				<td>层数</td>
				<td  class="property">
					<input type="text" class="areaInp overUp" id="downFloorNum"/>
					<span class="second">层</span>
				</td>
				<td>备注</td>
			</tr>
			<tr class="removedxs">
				<td><span class="level"></span>建筑面积</td>
				<td  class="property">
					<input type="text" class="areaInp" id="acreage"/>
					<span class="second">平方米</span>
				</td>
				<td>备注</td>
			</tr>
			<tr class="removedxs">
				<td style="text-indent: 60px;">其中人防面积</td>
				<td  class="property">
					<input type="text" class="areaInp" id="otherAcreage" />
					<span class="second">平方米</span>
				</td>
				<td>备注</td>
			</tr>
			<tr>
				<td class="xh">8</td>
				<td>是否坡屋顶</td>
				<td  class="property">
					<div class="classify nature" style="border: none;float: left;height: 40px;padding-right: 20px;">
						<span id="roof">请选择</span>
						<ul class="classifyList" id="pwd">
							<li>是</li>
							<li>否</li>
						</ul>
					</div>
					<div class="pwd">
						<ul>
							<li>是否有屋顶造型</li>
							<li style="width: 339px;">
								<div>请选择</div>
								<dl>
									<dd>是</dd>
									<dd>否</dd>
								</dl>
							</li>
						</ul>
					</div>
				</td>
				<td>备注</td>
			</tr>
			<tr>
				<td class="xh">9</td>
				<td>是否有电梯</td>
				<td  class="property">
					<div class="classify nature" style="border: none;float: left;height: 40px;padding-right: 20px;">
						<span class="snfi">请选择</span>
						
						<ul class="classifyList" id="elevator">
							<li>是</li>
							<li>否</li>
						</ul>
					</div>
					<div class="elevator">
						<ul><li>电梯的数量</li><li><input type="text" name="" id="" value="" /></li>台</ul>
					</div>
				</td>
				<td>备注</td>
			</tr>
			<tr>
				<td class="xh">10</td>
				<td>抗震设防烈度</td>
				<td  class="property">
					<div class="classify nature" style="border: none;">
						<span id="shock">请选择</span>
						<ul class="classifyList">
							<li>5度</li>
							<li>6度</li>
							<li>7度</li>
							<li>8度</li>
							<li>9度</li>
						</ul>
					</div>
				</td>
				<td>备注</td>
			</tr>
			<tr>
				<td class="xh">11</td>
				<td>结构类型</td>
				<td  class="property">
					<div class="classify nature" style="border: none;">
						<span id="structure">请选择</span>
						<ul class="classifyList">
							<li>框架结构</li>
							<li>剪力墙结构</li>
							<li>框架-剪力墙结构</li>
							<li>筒体结构</li>
							<li>部分框支剪力墙结构</li>
							<li>板柱-剪力墙结构</li>
							<li>钢结构</li>
							<li>砖混结构</li>
							<li>其他结构</li>
						</ul>
					</div>
				</td>
				<td>备注</td>
			</tr>
			<tr>
				<td class="xh">12</td>
				<td>屋盖结构</td>
				<td  class="property">
					<div class="classify nature" style="border: none;">
						<span id="wgjg">请选择</span>
						<ul class="classifyList">
							<li>钢筋混凝土屋架</li>
							<li>钢屋架</li>
							<li>木屋架</li>
							<li>钢木屋架</li>
						</ul>
					</div>
				</td>
				<td>备注</td>
			</tr>
			<tr>
				<td class="xh">13</td>
				<td>柱跨形式</td>
				<td  class="property">
					<div class="classify nature" style="border: none;">
						<span id="zkxs">请选择</span>
						<ul class="classifyList">
							<li>单跨</li>
							<li>多跨</li>
						</ul>
					</div>
					<div class="zklx">
						<ul>
							<li>柱距<input type="text" />米</li>
						</ul>
						<ul>
							<li>跨度<input type="text" />米</li>
						</ul>
					</div>
				</td>
				<td>备注</td>
			</tr>
			<tr>
				<td class="xh">14</td>
				<td>产能</td>
				<td  class="property">
					<input type="text" class="areaInp" id="channeng" />
				</td>
				<td>备注</td>
			</tr>
			<tr>
				<td class="xh">15</td>
				<td>基础类型</td>
				<td  class="property">
					<div class="classify nature" style="border: none;">
						<span id="cost">请选择</span>
						<ul class="classifyList">
							<li>筏板基础</li>
							<li>桩基</li>
							<li>条形基础</li>
							<li>独立基础</li>
							<li>箱型基础</li>
							<li>其他基础</li>
						</ul>
					</div>
				</td>
				<td>备注</td>
			</tr>
			<tr>
				<td class="xh">16</td>
				<td>计价方式</td>
				<td  class="property">
					<div class="classify nature" style="border: none;">
						<span id="valuation">请选择</span>
						<ul class="classifyList">
							<li>清单计价</li>
							<li>定额计价</li>
						</ul>
					</div>
				</td>
				<td>备注</td>
			</tr>
			<tr>
				<td class="xh">17</td>
				<td>业务范围</td>
				<td  class="property">
					<div class="classify nature" style="border: none;">
						<span id="ywfw">请选择</span>
						<ul class="classifyList">
							<li>投资估算的编制与审核</li>
							<li>经济评价的编制与审核</li>
							<li>设计概算的编制、审核与调整</li>
							<li>施工图预算的编制与审核</li>
							<li>工程量清单的编制与审核</li>
							<li>最高投标限价的编制与审核</li>
							<li>工程结算的编制与审核</li>
							<li>工程竣工决算的编制与审核</li>
							<li>全过程工程造价管理咨询</li>
							<li>工程造价鉴定</li>
							<li>方案必选、限额设计、优化设计的造价咨询</li>
							<li>合同管理咨询</li>
							<li>建设项目后评价</li>
							<li>工程造价信息咨询服务</li>
							<li>其他工程造价咨询工作</li>
						</ul>
					</div>
				</td>
				<td>备注</td>
			</tr>
			

			<tr>
				<td class="xh" rowspan="4">18</td>
				<td><span class="level"></span>计价依据</td>
				<td  class="property">
				</td>
				<td>备注</td>
			</tr>
			<tr>
				<td>清单依据</td>
				<td  class="property">
					<div class="classify nature" style="border: none;">
						<span id="norm">请选择</span>
						<ul class="classifyList">
							<li>2003版清单计价规范</li>
							<li>2013版清单计价规范</li>
							<li>2018版清单计价规范</li>
						</ul>
					</div>
				</td>
				<td>备注</td>
			</tr>
			<tr>
				<td>定额依据</td>
				<td  class="property">
					<input type="text" class="areaInp" id="quota"/>
				</td>
				<td>备注</td>
			</tr>
			<tr>
				<td>信息价依据</td>
				<td  class="property">
					<input type="text" class="areaInp" id="informationPrice"/>
				</td>
				<td>备注</td>
			</tr>
			<tr>
				<td class="xh">19</td>
				<td>计价日期</td>
				<td  class="property">
					<div class="layui-input-block" style="margin-left: 0px">
  						<input class="layui-input" onclick="layui.laydate({elem: this, festival: true})" placeholder="选择日期" style="border: none;cursor: pointer;" id="infoData">
					</div>
				</td>
				<td>备注</td>
			</tr>
			<tr>
				<td class="xh">20</td>
				<td>工程总造价</td>
				<td  class="property"><input type="text" class="areaInp" style="width: 96%;" id="money" /></td>
				<td>备注</td>
			</tr>
		</table>
		<div class="shareCostBtn">
			<div class="saveBtn" style="margin: 50px 20px 50px 477px;">
				<a  onclick="history.go(-1);" href="javascript:;">返回</a>
			</div>
			<div class="nextBtn">
				<a>保存并下一步</a>
			</div>
		</div>
	</div>
</div>
<!--<div class="leftTip" style="position: fixed;top: 400px;left: 50px;width: 50px;height: 50px;background: black;"></div>-->
<div id="tip" style="width: 1240px;padding: 0px 0px 20px;color: red;text-align: center;background: #fff;display: none;margin: 0 auto;"></div>
<script>
	layui.use(['laydate','industryone','sharecity'], function(){
		$(".nextBtn").on("click",function(){

			var second,third ;
				
			for (i = 0 ; i < $("#catalog>div").length ; i++) {
				
				if ( $("#catalog>div").eq(i).is(":hidden") === false ) {
					
					i === 1 ? second = $("#catalog>div").eq(1).find("span").html() : "" ;
					i === 2 ? third = $("#catalog>div").eq(2).find("span").html(): "" ;
					
				}
			}
			
			second === undefined ? second = "" : "" ;
			third === undefined ? third = "" : "" ;
			
			var data = {
					arrangement : $(".shareUnit").html(),
					
					projectName : $("#costName").val(),	//工程名称
					costName : $("#costName").val(),	//工程名称
					
					catalogId : $("#catalog").attr("data-catalogId"),	//工程分类
					catalogSecond : second,	//工程分类
					catalogThird : third,	//工程分类
					
					address : $("#city span").eq(0).html()+$("#any span").eq(0).html(),   //工程地点
					address1 : $("#city span").eq(0).html(),   //工程地点
					address2 : $("#any span").eq(0).html(),   //工程地点
					
					//总建筑面积
					projectAllArea : $("#allArea").val(),
					constructionArea : $("#allArea").val(),
					projectOnGround : $("#onGround").val(),
					projectUnderGround : $("#underGround").html(),
					projectUnderGroundArea : $("#dxsmj input").val(),
					
					//总建筑高度
					projectHeight : $("#totalHeight").val(),
					firstHeight : $("#firstHeight").val() ,
					secondHeight : $("#secondHeight").val(),
					standardHeight : $("#standardHeight").val(),
					topHeight : $("#topHeight").val(),
					otherHeight : $("#otherHeight").val(),
					otherFloor : $("#otherFloor").val(),
					
					//层数
					allFloor : $("#allFloor").val(),
					upFloor : $("#upFloor").val(),
					floorNumber : $("#upFloor").val(),
					downFloor : $("#downFloor").val(),
					underNumber : $("#downFloor").val(),
					
					//地下室
					downFloorHeight : $("#downFloorHeight").val(),	//层高
					downUse : $(".downarr").val(),	//功能用途
					downFloorNum : $("#downFloorNum").val(),	//层数
					acreage : $("#acreage").val(),	//建筑面积
					otherAcreage : $("#otherAcreage").val(),	//其中人防面积
					
					
					
					elevator : $(".snfi").html(),	//电梯
					elevatorNumber : $(".elevator input").val(),	//电梯
					
					roof : $("#roof").html(),	//	是否坡屋顶
					roofHtml : $(".pwd div").html(),	//	是否坡屋顶
					
					shock : $("#shock").html(),	//抗震设防烈度
					basis : $("#basis").html(),	//结构类型
					
					structure : $("#structure").html(),	//基础类型
					structureType : $("#structure").html(),	//基础类型
					
					wgjg : $("#wgjg").html(), // 屋盖结构
					zkxs : $("#zkxs").html(), // 柱跨结构
					zklxJuli : $(".zklx input").eq(0).val(), // 屋盖结构
					zklxkuadu : $(".zklx input").eq(1).val(), // 屋盖结构
					channeng : $("#channeng").val(),
					
					valuation : $("#valuation").html(),	//	计价方式
					ywfw : $("#ywfw").html(),	//	业务范围
					
					cost: $("#cost").html(),//	基础类型
					costType : $("#cost").html(),//	造价
					
					//计价依据
					norm : $("#norm").html(),
		   			quota : $("#quota").val(),
		   			informationPrice : $("#informationPrice").val(),
		
		
		   			infoData : $("#infoData").val(),	//计价日期
		   			compilationTime : $("#infoData").val(),	//计价日期
		   			
					allMoney : $("#money").val(),	//工程总造价
					unitCost : ($("#money").val()+"0000")/$("#allArea").val()
				};
			data.survey = JSON.stringify(data);
			$.ajax({
				type:"post",
				url:"/guidance_service/front/costIndex/add.do",
				data:data,
				success:function (result){
					console.log(result)
					window.location.href = "/ceca_two/modules/share/Industry/two.html?costId="+result.data.costId+"&catalogId="+result.data.catalogId ;
				},error:function (){
					layer.msg("请求错误！请稍候重试",{icon:2,time:3000});
				}
			});
		})
	})
	
		
</script>
<!--底部-->
<!--# include virtual="/ceca_two/common/html/footer.html"-->
</body>
</html>